import { request } from "@/utils";

export const GetAllLeaveMessageService = () => {
  return request.get({
    url: "/leave/message",
  });
};

export const GetIndexPageDataService = (pre, next) => {
  return request.get({
    url: `/display?pre=${pre}&next=${next}`,
  });
};

export const GetIndexPageLocationDataService = () => {
  return request.get({
    url: "/display/location",
  });
};
